//
//  MKAliyunOSSUtils.h
//  Fanmugua
//
//  Created by xiaomk on 2020/2/13.
//  Copyright © 2020 taolang. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, CGUploadImageType) {
    CGUploadImageType_avatar    = 0,
    CGUploadImageType_cartoon,
    CGUploadImageType_feedback
    
};

NS_ASSUME_NONNULL_BEGIN

@interface MKAliyunOSSUtils : NSObject
+ (instancetype)sharedInstance;

- (void)uploadImage:(UIImage *)image type:(CGUploadImageType)type block:(void (^)(NSString *url))block;
- (void)uploadImage:(UIImage *)image block:(void (^)(NSString *url))block;
@end

NS_ASSUME_NONNULL_END
